package com.czwj.dao;

import java.util.List;
import java.util.Map;
import com.czwj.entities.Authority;

public interface AuthorityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Authority record);

    int insertSelective(Authority record);

    Authority selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Authority record);

    int updateByPrimaryKey(Authority record);

	/**
	* @Title: search
	* @Description: TODO
	* @param rpParams
	* @return 参数 
	* @return List<Authority> 返回类型
	* @throws
	*/
	List<Authority> search(Map<String,Object> rpParams);

	/**
	* @Title: deleteByLevelId
	* @Description: TODO
	* @param levelId 参数 
	* @return void 返回类型
	* @throws
	*/
	void deleteByLevelId(int levelId);
}